import styles from './index.module.less'

export const QuestionTitle = (props: { no: number; title: string; isRequired?: boolean }) => {
    return (
        <div className={styles.title}>
            <span style={{ color: 'red', letterSpacing: '4px' }}>*</span>
            <span>{`${props.no}.`}</span>
            <span>{props.title}</span>
        </div>
    )
}
